package com.kasangadu.generation.server;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

public class Human {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key HumanID;
	
	@Persistent
	private Key FatherHumanID;
	
	@Persistent
	private Key MotherHumanID;

	@Persistent
	private Date DateofBirth;
	
	@Persistent
	private Key[] ChildIDs;
	
	@Persistent
	private Key[] AddressList;
	
	@Persistent
	private IGender.Gender Gender;
	
	@Persistent
	private Date DateofDeath;
	
	@Persistent
	private String FirstName;
	
	@Persistent
	private String LastName;
	
	
	// Member Variables Ends here
	
	public IGender.Gender getGender() {
		return Gender;
	}

	public void setGender(IGender.Gender gender) {
		Gender = gender;
	}
	
	public Key getHumanID() {
		return HumanID;
	}

	public void setHumanID(Key humanID) {
		HumanID = humanID;
	}

	public Key getFatherHumanID() {
		return FatherHumanID;
	}

	public void setFatherHumanID(Key fatherHumanID) {
		FatherHumanID = fatherHumanID;
	}

	public Key getMotherHumanID() {
		return MotherHumanID;
	}

	public void setMotherHumanID(Key motherHumanID) {
		MotherHumanID = motherHumanID;
	}

	public Date getDateofBirth() {
		return DateofBirth;
	}

	public void setDateofBirth(Date dateofBirth) {
		DateofBirth = dateofBirth;
	}

	public Key[] getChildIDs() {
		return ChildIDs;
	}

	public void setChildIDs(Key[] childIDs) {
		ChildIDs = childIDs;
	}

	public Key[] getAddressList() {
		return AddressList;
	}

	public void setAddressList(Key[] addressList) {
		AddressList = addressList;
	}

	public Date getDateofDeath() {
		return DateofDeath;
	}

	public void setDateofDeath(Date dateofDeath) {
		DateofDeath = dateofDeath;
	}

	public String getFirstName() {
		return FirstName;
	}

	public void setFirstName(String firstName) {
		FirstName = firstName;
	}

	public String getLastName() {
		return LastName;
	}

	public void setLastName(String lastName) {
		LastName = lastName;
	}
	

}
